home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Power Programmierung
/
Power-Programmierung (Tewi)(1994).iso
/
magazine
/
pcmagazi
/
1992
/
04
/
pswrd2.wfw
< prev
next >
Wrap
Text File
|
1992-01-27
|
437b
|
24 lines
Sub MAIN
FileNew
If Not DocMaximize() Then DocMaximize
repeat:
On Error Goto 0
On Error Goto Repeat
DisableInput 1
a$ = InputBox$("Enter Password ", " Password Locked ")
If a$ = "password" Then
Goto done
Else
Beep
pw = pw + 1
End If
Goto repeat
done:
If pw > 0 Then
MsgBox "Incorrect password entered" \
+ Str$(pw) + " times", "Password Unlocked"
End If
FileClose
End Sub